﻿using System;
using System.ComponentModel.Composition;
using System.Linq;
using System.Linq.Expressions;
using ASPItalia.ModelVirtualCasting.Common;
using ASPItalia.ModelVirtualCasting.ObjectModel;
using ASPItalia.ModelVirtualCasting.Parts;

namespace ASPItalia.ModelVirtualCasting.Fake
{
    [Export("JobTypeRepository", typeof(IJobTypeRepository))]
    [PartCreationPolicy(CreationPolicy.NonShared)]
    [RepositoryMetadata(Name = "JobTypeRepository", IsFake = true)]
    public class JobTypeRepository : BaseRepository<IJobTypeRepository>, IJobTypeRepository
    {
        public IQueryable<JobType> GetAll()
        {
            return null;
        }

        public IQueryable<JobType> Where(Expression<Func<JobType, bool>> predicate)
        {
            return null;
        }

        public long Count(Expression<Func<JobType, bool>> predicate)
        {
            return 0L;
        }

        public IJobTypeRepository EnableLazyLoading()
        {
            return this;
        }

        public IJobTypeRepository DisableLazyLoading()
        {
            return this;
        }

        public IJobTypeRepository Include(string path)
        {
            return this;
        }

				public IJobTypeRepository Include<TProperty>(Expression<Func<JobType, TProperty>> path)
				{
					return this;
				}

				public IJobTypeRepository CreateQuery()
				{
					return this;
				}

				public IJobTypeRepository DoNotTrack()
				{
					return this;
				}
		}
}